package com.skwen.ssm.serviceImp;

import com.skwen.ssm.dao.StudentDao;
import com.skwen.ssm.po.Student;
import com.skwen.ssm.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("StudentService")
public class StudentServiceImpl implements StudentService {

    @Resource(name = "StudentDao")
    private StudentDao studentDao;



    public List<Student> getListStudent() {
        return studentDao.getListStudent();
    }
}
